From 1084b8e6a132311e42234e02434e15598a2e96c3 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 20 Jan 2009 23:34:00 +0100 Subject: [PATCH] Call backend move_resize with the right coords/size We calculated and set the new position and size, just pass that. This avoids parsing the "special values" again --- gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 3122628a81..8da989c77d 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -6055,7 +6055,7 @@ gdk_window_move_resize_internal (GdkWindow *window, { /* Do the actual move after recomputing things, as this will have set the shape to the now correct one, thus avoiding copying regions that should not be copied. */ - GDK_WINDOW_IMPL_GET_IFACE (private->impl)->move_resize (window, with_move, x, y, width, height); + GDK_WINDOW_IMPL_GET_IFACE (private->impl)->move_resize (window, TRUE, private->x, private->y, private->width, private->height); } else if (old_abs_x != private->abs_x || old_abs_y != private->abs_y) -- 2.30.2